﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Domain.AGVModels
{
    /// <summary>
    /// Title：容器与仓位绑定、解绑
    /// Description：仓位与容器的关系绑定, 容器类型编号写入仓位表。
    /// </summary>
    public class BindCtnrAndBinModel: BaseTaskModel
    {
        /// <summary>
        /// 容器编号
        /// </summary>
        public string? ctnrCode { get; set; }
        /// <summary>
        /// 容器类型
        /// </summary>
        public string? ctnrTyp { get; set; }
        /// <summary>
        /// 仓位编号，与仓位绑定解绑必填
        /// </summary>
        public string? stgBinCode { get; set; }
        /// <summary>
        /// 客仓编号，对应多个仓位编号时报错
        /// </summary>
        public string? binName { get; set; }
        /// <summary>
        /// 特征值，叉车巷道绑定容器可用
        /// </summary>
        public string? characterValue { get; set; }
        /// <summary>
        /// 地图数据编号，用于虚拟货架仓位的绑定解绑。当绑定时，从该点位上的虚拟货架找一个空仓位进行绑定，顺序是从下至上搜索。当解绑时根据容器类型和容器号进行匹配，若结果有多条则从优先从上部的仓位进行解绑。
        /// </summary>
        public string? positionCode { get; set; }
        /// <summary>
        /// "1"：绑定， "0"：解绑
        /// </summary>
        public string? indBind { get; set; }    
    }
}
